package cn.myframe.service.sys;

import cn.myframe.entity.sys.SysRoleEntity;
import cn.myframe.service.BaseService;

/**
 * 角色
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2018-08-01 16:46:19
 */
public interface SysRoleService  extends BaseService<SysRoleEntity>{

    void updateWithPerms(SysRoleEntity sysRole);

    void insertWithPerms(SysRoleEntity sysRole);

    void deleteWithPerms(Long[] ids);

    Boolean hasPerm(Long roleId, String perm);
}
